<html>
    <head>
        <title>#{get 'title' /}</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      
        #{get 'moreStyles' /}
        <link rel="shortcut icon" type="image/png" href="@{'/public/images/favicon.png'}">
         #{get 'moreScripts' /}
    </head>
    <body>  
#{set title:'SolexBackend' /}

#{ifErrors}
   <h1>Oops…</h1>
    #{errors}
       <li>${error}</li>
   #{/errors}
   
#{/ifErrors}
 
 
 
<div id="zencontact">

   #{if me}
<h3>You're ${me.get("id")} on Facebook</h3>
<img src="${a}" />
${me.get("")}
<h3>You're ${me.get("picture")} on Facebook</h3>

#{/if}
#{else}
<a href="@{auth()}">login</a>
#{/else}
<br>
<center>
  <p class="login">
       <label for="login">Username:</label><br> <input type="text" name="username" value="${flash.name}" />
      <span class="error">#{error 'name' /}</span>
   </p>
 <p class="pass">
       <label for="pass">Password:</label> <input type="password" name="password" value="${flash.name}" />
      <span class="error">#{error 'name' /}</span>
   </p>
   </center>
   <p align="center" class="buton">
      <input type="submit" value="Entrar" /> 
  </p>
  
  

  </div>
</body>
</html>
